package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.InfoBean;
import com.project.bean.ShoppingCarBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IInfoMapper extends BaseMapper<InfoBean> {
    public void addInfoList(@Param("orderId") Integer orderId,
                            @Param("shopList")List<ShoppingCarBean> shopList);

    public List<InfoBean> getinfo(Integer orderId);
}
